package com.edu.exam.enums.curriculum.questionbank;

/**
 * 版本类型枚举
 * 
 * 试题版本的类型定义
 * 
 * @author System
 * @version 1.0.0
 */
public enum VersionType {
    MAJOR("MAJOR", "主版本"),
    MINOR("MINOR", "次版本"),
    PATCH("PATCH", "补丁版本"),
    HOTFIX("HOTFIX", "热修复版本"),
    DRAFT("DRAFT", "草稿版本");

    private final String code;
    private final String description;

    VersionType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}